FROM java:8-jre
MAINTAINER Augustus <qianwx@asiainfo.com>

ADD ./target/userserver-1.0-SNAPSHOT.jar /app/
CMD ["java", "-Xmx400m", "-jar", "/app/userserver-1.0-SNAPSHOT.jar"]

EXPOSE 2001